const store = {
    namespaced: true,  //带命名空间的模块
    state: {
        jkkType: [],
        // 加扣款状态
        jkkState: [
            { value: -1, label: '已删除' },
            { value: 0, label: '待审' },
            { value: 1, label: '审核中' },
            { value: 2, label: '已审核' },
            { value: 3, label: '待汇总' },
            { value: 4, label: '已汇总' },
            { value: 5, label: '已作废' },
            { value: 9, label: '共享审核中' }
        ],
        // 验收管理状态
        ysState: [
            { value: -1, label: '已删除' },
            { value: 0, label: '草稿' },
            { value: 1, label: '审核中' },
            { value: 2, label: '已审核' },
            { value: 5, label: '已作废' },
            { value: 9, label: '共享审核中' },
        ],
        historyTableDataJieSuanHuiZong: [],
        //甲供类型
        instepTypeList: [
            { value: 1, label: '分包扣款' },
            { value: 2, label: '工程消耗' },
            { value: 3, label: '研发支出' },
            { value: 4, label: '安全环保支出' },
        ],
    },
    mutations: {
        setJkkType (state, data) {
            state.jkkType = data
        },
        setHistoryTableDataJieSuanHuiZong (state, data) {
            state.historyTableDataJieSuanHuiZong = data
        },
    },
    actions: {},
    getters: {}
}

export default store
